home *** CD-ROM | disk | FTP | other *** search
/ Aminet 24 / Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso / Aminet / dev / lang / PPCSmllEiffel.lha / PPCSmallEiffel / lib_se / native_inline_with_current.e < prev    next >
Text File  |  1998-01-16  |  2KB  |  91 lines

  1. --          This file is part of SmallEiffel The GNU Eiffel Compiler.
  2. --          Copyright (C) 1994-98 LORIA - UHP - CRIN - INRIA - FRANCE
  3. --            Dominique COLNET and Suzanne COLLIN - colnet@loria.fr 
  4. --                       http://www.loria.fr/SmallEiffel
  5. -- SmallEiffel is  free  software;  you can  redistribute it and/or modify it 
  6. -- under the terms of the GNU General Public License as published by the Free
  7. -- Software  Foundation;  either  version  2, or (at your option)  any  later 
  8. -- version. SmallEiffel is distributed in the hope that it will be useful,but
  9. -- WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  10. -- or  FITNESS FOR A PARTICULAR PURPOSE.   See the GNU General Public License 
  11. -- for  more  details.  You  should  have  received a copy of the GNU General 
  12. -- Public  License  along  with  SmallEiffel;  see the file COPYING.  If not,
  13. -- write to the  Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  14. -- Boston, MA 02111-1307, USA.
  15. --
  16. class NATIVE_INLINE_WITH_CURRENT
  17.  
  18. inherit NATIVE_C;
  19.    
  20. feature 
  21.  
  22.    need_prototype: BOOLEAN is false;
  23.  
  24. feature
  25.  
  26.    language_name: STRING is
  27.       do
  28.      Result := fz_c_inlinewithcurrent;
  29.       end;
  30.  
  31.    stupid_switch(name: STRING): BOOLEAN is
  32.       do
  33.      Result := true;
  34.       end;
  35.  
  36.    c_define_function(rf8: RUN_FEATURE_8; bcn, name: STRING) is
  37.       do
  38.       end;
  39.  
  40.    c_mapping_function(rf8: RUN_FEATURE_8; bcn, name: STRING) is
  41.       do
  42.      c_mapping_function_non_small_eiffel(rf8,name);
  43.       end;
  44.  
  45.    c_define_procedure(rf7: RUN_FEATURE_7; bcn, name: STRING) is
  46.       do
  47.       end;
  48.  
  49.    c_mapping_procedure(rf7: RUN_FEATURE_7; bcn, name: STRING) is
  50.       do
  51.      c_mapping_procedure_non_small_eiffel(rf7,name);
  52.       end;
  53.  
  54.    jvm_add_method_for_function(rf8: RUN_FEATURE_8; bcn, name: STRING) is
  55.       do
  56.       end;
  57.  
  58.    jvm_define_function(rf8: RUN_FEATURE_8; bcn, name: STRING) is
  59.       do
  60.      fe_c2jvm(rf8);
  61.       end;
  62.  
  63.    jvm_mapping_function(rf8: RUN_FEATURE_8; bcn, name: STRING) is
  64.       do
  65.      fe_c2jvm(rf8);
  66.       end;
  67.  
  68.    jvm_add_method_for_procedure(rf7: RUN_FEATURE_7; bcn, name: STRING) is
  69.       do
  70.       end;
  71.  
  72.    jvm_define_procedure(rf7: RUN_FEATURE_7; bcn, name: STRING) is
  73.       do
  74.      fe_c2jvm(rf7);
  75.       end;
  76.  
  77.    jvm_mapping_procedure(rf7: RUN_FEATURE_7; bcn, name: STRING) is
  78.       do
  79.      fe_c2jvm(rf7);
  80.       end;
  81.  
  82. feature
  83.  
  84.    use_current(er: EXTERNAL_ROUTINE): BOOLEAN is
  85.       do
  86.      Result := true;
  87.       end;
  88.    
  89. end -- NATIVE_INLINE_WITH_CURRENT
  90.  
  91.